package com.example.system.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-05-03
 */
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 医生姓名
     */
    private String name;

    /**
     * 医生照片
     */
    private String photo;

    /**
     * 部门编号
     */
    private String dname;

    /**
     * 子树节点
     */
    private Integer pid;

    /**
     * 字段节点编号
     */
    private Integer id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Doctor{" +
            "name = " + name +
            ", photo = " + photo +
            ", dname = " + dname +
            ", pid = " + pid +
            ", id = " + id +
        "}";
    }
}
